package com.noopsyche.auth.mapper;

import com.noopsyche.auth.entity.User;

import java.math.BigInteger;
import java.util.List;

public interface UserMapper {

    void save(User user);

    User getUserByName(String name);

    List<User> getAllUser();

    BigInteger getCount();

    boolean deleteById(int id);

    boolean update(User user);
}
